package cn.wolfcode.rbac.mapper;

import cn.wolfcode.rbac.domain.Employee;
import cn.wolfcode.rbac.qo.EmployeeQo;
import cn.wolfcode.rbac.web.vo.AdminStateVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface EmployeeMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Employee record);

    Employee selectByEmployeeInfo(Employee employee);

    List<Employee> selectAll(EmployeeQo employeeQo);

    int updateByPrimaryKey(Employee employee);

    int updateAdminState(AdminStateVo adminStateVo);

}